package com.kylin.marketing.api.dto.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

/**
 * 营销列表商品信息（仅用于列表展示）
 * @author Damon S.
 * @version v1.0.1
 * @date 2020年12月19日 11:18
 */
@Data
@Builder
@ApiModel(value = "营销列表商品信息")
public class MarketingBoardRespDTO implements Serializable {

    @ApiModelProperty(value = "营销商品Id")
    private String boardId;

    @ApiModelProperty(value = "商品Id")
    private String commodityId;

    @ApiModelProperty(value = "封面")
    private String cover;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "副标题")
    private String subtitle;

    @ApiModelProperty(value = "拼团价格(GrouponPrice)")
    private String gPrice;

    @ApiModelProperty(value = "单品原价(CommodityPrice)")
    private String cPrice;

    @ApiModelProperty(value = "拼团人数")
    private Integer capacity;

    @ApiModelProperty(value = "剩余库存")
    private Integer quantity;

    public static final MarketingBoardRespDTO EMPTY =
            MarketingBoardRespDTO.builder().build();
}
